package com.alex.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author cb
 * @date 2019/11/13 11:50
 */
@Data
@ToString
public abstract class BaseDO {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Date gmtCreate;

    private Date gmtModified;
}
